package org.bigdata.framework.core.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;

/**
 * <p>
 * 题目表
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2019-11-19
 */
public class Question implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 题目名称
	 */
	private String name;

	/**
	 * 关联题库表
	 */
	@TableField(value="question_database_id")
	private Integer questionDatabaseId;

	/**
	 * 题目类型（0-单选题 1-判断题 2-问答题）
	 */
	private Integer type;

	/**
	 * 单选答案
	 */
	@TableField(value="answer_0")
	private String answer0;

	/**
	 * 判断答案
	 */
	@TableField(value="answer_1")
	private String answer1;

	/**
	 * 问答答案
	 */
	@TableField(value="answer_2")
	private String answer2;

	/**
	 * 题目解析文件
	 */
	private String analysis;

	/**
	 * 创建人
	 */
	@TableField(value="create_user")
	private String createUser;

	/**
	 * 选项
	 */
	private String options;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private String createTime;

	/**
	 * 状态（-1-已注销 0-待审核 1-审核通过 2-已上架 3-已下架）
	 */
	private Integer status;

	/**
	 * 审核类型
	 */
	@TableField(value="audit_type")
	private String auditType;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getQuestionDatabaseId() {
		return questionDatabaseId;
	}

	public void setQuestionDatabaseId(Integer questionDatabaseId) {
		this.questionDatabaseId = questionDatabaseId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getAnswer0() {
		return answer0;
	}

	public void setAnswer0(String answer0) {
		this.answer0 = answer0;
	}

	
	public String getAnswer1() {
		return answer1;
	}
	
	public void setAnswer1(String answer1) {
		this.answer1 = answer1;
	}

	public String getAnswer2() {
		return answer2;
	}

	public void setAnswer2(String answer2) {
		this.answer2 = answer2;
	}

	public String getAnalysis() {
		return analysis;
	}

	public void setAnalysis(String analysis) {
		this.analysis = analysis;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getOptions() {
		return options;
	}

	public void setOptions(String options) {
		this.options = options;
	}
	public String getAuditType() {
		return auditType;
	}

	public void setAuditType(String auditType) {
		this.auditType = auditType;
	}

}
